package com.gaoch.simweather.logic.network

import com.gaoch.simweather.MyApplication
import com.gaoch.simweather.logic.model.PlaceResponse
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query

interface PlaceService {
    @GET("v2/city/lookup")
    fun searchPlaces(@Query("location") location:String, @Query("key")key:String=MyApplication.KEY): Call<PlaceResponse>
}